package com.zhai.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @package: com.zhai.boot
 * @project-name: zhai-boot
 * @description: 启动
 * @author: Created by 翟凤玺
 * @create-datetime: 2018-7-10 10:38
 */
@EnableAsync
@SpringBootApplication
@EnableElasticsearchRepositories(basePackages = "com.zhai.boot.dao.es")
public class BootApplication {

    public static void main(String[] args) {
        SpringApplication.run(BootApplication.class, args);
    }
}
